package com.bw.ppjokeplay.commen.mvvm.model

import com.bw.ppjokeplay.commen.entity.BaseEntity

import io.reactivex.Observable
import okhttp3.RequestBody

/**
 * @author Lishaohe
 * @description:
 * @date :2021/11/9 0009 下午 6:10
 *
 */
interface IModel {
    //创建OKHttp请求体
    fun createBody(map : HashMap<String,Any>): RequestBody

    //RXJava 转换
    fun changeFun(observable: Observable<*>):Observable<BaseEntity>
}